package edu.cmu.vlis.datamining.core;
import java.io.Serializable;

import org.jgrapht.graph.DefaultEdge;


public class Edge extends DefaultEdge implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	//private long id;
	
	/**
     * @param id
     */
  /*  public Edge(long id) {
        super();
        this.id = id;
    }
*/
    public Vertex getTarget()  {
		return  (Vertex)super.getTarget();
	}

    /* (non-Javadoc)
     * @see java.lang.Object#hashCode()
     */
   /* @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + (int) (id ^ (id >>> 32));
        return result;
    }
*/
    /* (non-Javadoc)
     * @see java.lang.Object#equals(java.lang.Object)
     */
 //   @Override
   /* public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (!(obj instanceof Edge))
            return false;
        Edge other = (Edge) obj;
        if (id != other.id)
            return false;
        return true;
    }
    */
}
